package com.xiaogao.sys.request.role;

import com.xiaogao.common.entity.BaseModel;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.lang.String;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class AddParam extends BaseModel {
    @NotBlank(message = "角色编码不能为空")
    private String code;
    @NotBlank(message = "角色名称不能为空")
    private String name;
    @NotBlank(message = "数据权限不能为空")
    private String dataScope;
    private String remark;

    private List<String> permIds;
}
